package com.ruoyi.smartcity.anfang.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 采集管理对象 anfang_caiji
 * 
 * @author ruoyi
 * @date 2025-03-09
 */
public class AnfangCaiji extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 视频名称 */
    @Excel(name = "视频名称")
    private String name;

    /** 所属监控 */
    @Excel(name = "所属监控")
    private String jiankongName;

    /** 视频ur */
    @Excel(name = "视频ur")
    private String url;

    /** 面部图片 */
    @Excel(name = "面部图片")
    private String pic;

    /** 监控生成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "监控生成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setJiankongName(String jiankongName) 
    {
        this.jiankongName = jiankongName;
    }

    public String getJiankongName() 
    {
        return jiankongName;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("jiankongName", getJiankongName())
            .append("url", getUrl())
            .append("pic", getPic())
            .append("time", getTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
